package org.jeecg.modules.common.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.common.service.SwgxJbKhxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags="数据清洗")
@RestController
@RequestMapping("/tax/common")
public class DataCleanController {

    @Autowired
    private SwgxJbKhxxService swgxJbKhxxService;


    @ApiOperation(value="数据清洗-客户信息", notes="数据清洗-客户信息")
    @GetMapping(value = "/dzdhClean")
    public Result<String> dzdhClean() {
        swgxJbKhxxService.dzdhClean();
        return Result.OK();
    }

    @ApiOperation(value="数据清洗-银行账号", notes="数据清洗-银行账号")
    @GetMapping(value = "/yhzhClean")
    public Result<String> yhzhClean() {
        swgxJbKhxxService.yhzhClean();
        return Result.OK();
    }

}
